package com.jsh.ex.common.base;

import java.io.Serializable;

import java.util.List;
import javax.persistence.Transient;

/**
 * 基础信息
 * @git https://github.com/abel533/MyBatis-Spring-Boot/
 * @author liuzh
 * @since 2016-01-31 21:42
 */
public class BaseEntity implements Serializable {

    @Transient
    private Integer page = 1;

    @Transient
    private Integer rows = 10;


    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getRows() {
        return rows;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }
    @Transient
    private int level;
    @Transient
    private Boolean hasChild;
    @Transient
    private List children;

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public Boolean getHasChild() {
        return hasChild;
    }

    public void setHasChild(Boolean hasChild) {
        this.hasChild = hasChild;
    }


    public List getChildren() {
        return children;
    }

    public void setChildren(List children) {
        this.children = children;
    }




}

